home *** CD-ROM | disk | FTP | other *** search
- Patches for Prolog-X, version 4.011
- ===================================
-
- For reasons only known to Acorn, Prolog-X, which costs close to £200, is
- unable to work on RAM discs or SCSI hard discs! It looks unlikely that
- Acorn will ever upgrade it, but in the meantime I have made a couple of
- patches which SEEM to work.
-
- The enclosed files are two small patches for Prolog-X version 4.011 to
- enable it to work with SCSI hard discs (and RAM discs), together with an
- exec file to create a new version on Prolog. They seem to work, but I
- cannot guarantee anything! Please let me know if you have any further
- problems.
-
- To make a new version of Prolog, ensure that the three files 'patch1',
- 'patch2' and 'PtchProlog' are all in the same directory as the original
- version of Prolog, and then run 'PtchProlog'. The original version will be
- renamed to 'PrologXOrg', and the new version will be saved as 'PrologX'.
- This procedure may be carried out from the desktop, by double-clicking on
- 'PtchProlog'.
-
- In case there are other releases of Prolog about, please note that these
- patches are designed for VERSION 4.011 ONLY!!
-
-
-
- I have added a 'trace' utility to this download - it is written in Prolog,
- and may be loaded by entering compile('Trace'). It is a slightly modified
- version of a program in 'The Art of Prolog', by L. Sterling and E. Shapiro.
- It may be used by entering:
-
- trace(clause).
-
- For example,
-
- trace(member(1,[2,3,4,1,5])) and trace(member(1,[2,3,4))
-
- where 'member' is defined in the 'standard' manner for lists, will produce
- the following displays:
-
- member(1,[2,3,4,1,5])
- member(1,[3,4,1,5])
- member(1,[4,1,5])
- member(1,[1,5])
- (465/200)
- yes
-
- ?- trace(member(1,[2,3,4])).
- member(1,[2,3,4])
- member(1,[3,4])
- member(1,[4])
- member(1,[]) fail
- no
-
-
-
- It does NOT work with cuts (so there you are - another incentive not to use
- them!). If anyone can modify it to do cuts as well, I would appreciate it
- if they contacted me.
-
- If anyone knows how to get Prolog's 'modules' working, could they please
- contact me!
-
- This package may be distributed freely, on condition that no charge is made,
- and that all the files, including this file, are included. You may NOT sell
- this software, or use it otherwise for personal gain. If you wish to post
- it on your Bulletin Board or include it in your Shareware library then that,
- too, is fine.
-
- LIMITED support is available from:
-
- Michael Ben-Gershon
- 8 Linnell Drive
- LONDON NW11 7LT
-
- No telephone calls please.
-
- However, I can be contacted as:
- Prestel (and SID): 014554781
- Janet: umace03@doc.ic.ac.uk
- Archive: Michael Ben-Gershon (396)
-
- Please report any bugs you find to this address, so other users may benefit
- from improved versions. Please note that no undertaking is given to fix any
- bugs!
-